//
//  AMAccount.h
//  AMwb
//
//  Created by zhc on 15/12/1.
//  Copyright © 2015年 zhc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AMAccount : NSObject<NSCoding>


/*
 "access_token" = "2.00T6cBEClbH_TE051cc0467eufJ8aC";
 "expires_in" = 157679999;
 (过期) "remind_in" = 157679999;
 uid = 1891756987;
 
 
 */


// 授权后的accesstoken

@property (nonatomic,copy)NSString*access_token;
//accesstoken过期时间，秒为单位
@property (nonatomic,copy)NSString*expires_in;
//授权用户的Uid
@property (nonatomic,copy)NSString*uid;

//账号的创建的时间
@property (nonatomic,strong)NSDate*created_Time;


+ (instancetype)accountWithDict:(NSDictionary *)dict;
- (void)encodeWithCoder:(NSCoder *)enCoder;

@end




